Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Node Location Atom Structure

A node location atom describes the type of a node and its location. The structure of a node location atom is defined by the VRNodeLocationAtom data type:

typedef struct VRNodeLocationAtom {
    UInt16                              majorVersion;
    UInt16                              minorVersion;
    OSType                              nodeType;
    UInt32                              locationFlags;
    UInt32                              locationData;
    UInt32                              reserved1;
    UInt32                              reserved2;
} VRNodeLocationAtom, *VRNodeLocationAtomPtr;
majorVersion
The major version number of the file format.
minorVersion
The minor version number of the file format.
nodeType
The node type. See "Node Types" for a description of the available node types. Currently, this field should contain either kQTVRPanoramaType or kQTVRObjectType .
locationFlags
The location flags. Currently, this field must contain the value kQTVRSameFile , indicating that the node is to be found in the current file.
locationData
The location of the node data. When the locationFlags field is kQTVRSameFile , this field should be 0. The nodes are found in the file in the same order that they are found in the node list.
reserved1
Reserved. This field must be 0.
reserved2
Reserved. This field must be 0.

© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next